//
//  SelectAddressTableViewCell.h
//  customer
//
//  Created by Holothurian on 2018/11/3.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol SelectAddressTableDelegate <NSObject>

- (void)selectAddressSetDefaultAddress:(NSIndexPath *)indexPath;

- (void)selectAddressEditInformation:(NSIndexPath *)indexPath;

- (void)selectAddressDeleteInformation:(NSIndexPath *)indexPath;

@end

@interface SelectAddressTableViewCell : UITableViewCell

@property (nonatomic,strong)UIImageView *positoinImgView;

@property (nonatomic,strong)UILabel *nameLabel;

@property (nonatomic,strong)UILabel *phoneLabel;

@property (nonatomic,strong)UILabel *addressLabel;

- (void)cellForLayout:(AddressModel *)model;

@end

@interface SelectAddressFooterView : UITableViewHeaderFooterView

@property (nonatomic,strong)UIButton *defaultAddressBtn;

@property (nonatomic,strong)UIButton *editBtn;

@property (nonatomic,strong)UIButton *deleteBtn;

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<SelectAddressTableDelegate>delegate;

@end


NS_ASSUME_NONNULL_END
